package com.atguigu.lease.web.admin;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * Author ChenYongSheng
 * Date 2025/9/30 17:14
 *
 */
@SpringBootApplication
//指定扫描com.atguigu.lease.common的包
@ComponentScan({"com.atguigu.lease.common","com.atguigu.lease.web.admin"})
@EnableScheduling
public class AdminMain {
    public static void main(String[] args) {
        SpringApplication.run(AdminMain.class,args);
    }
}